
  <sv-container title="{{getDAD031()}}" labelWidth="150" col='3'>
    <sv label="所属部门" style="text-align: left;padding-left: 5px;padding-bottom: 5px;">{{getDGB010Val(record.DGB010)}}</sv>
    <sv label="事项类型"><nz-tag [nzColor]="getDAD011Tag(record.DAD011)">{{getDAD011Val(record.DAD011)}}</nz-tag></sv>
    <sv label="对象主体"><nz-badge [nzStatus]="getDAD032Color(record.DAD032)" [nzText]="getDAD032Val(record.DAD032)"></nz-badge></sv>
  </sv-container>



<!--------------------------------------------弹窗---------------------------------------------------------->
<!--
<nz-modal [(nzVisible)]="slqdAddVisible" nzTitle="添加渠道引用" (nzOnCancel)="slqdCancel()" [nzFooter]='null' nzWidth="1000">
  <nz-card *ngIf="tabMode==='slqdSign'">
    <sf  #slqdAddSF [schema]="slqdSchema" [formData]="formData" [button]="null" nzOkText="保存"  autocomplete="off">
      <ng-template sf-template='/btn'>
        <button type="submit" nz-button (click)="slqdWYQuery(true)">查询</button>
      </ng-template>
    </sf>
    <lb-grid #slqdAddST  [columns]="slqdAddColumns" [sname]="params.slqdKYSname" [queryparas]="params.form" [scroll]="{x:'1000px'}">
    </lb-grid> 
  </nz-card>
</nz-modal> 
-->
<nz-modal [(nzVisible)]="slqdAddVisible" nzTitle="渠道新增" (nzOnCancel)="slqdCancel()" (nzOnOk)="slqdAdd()"  nzOkText="保存" nzWidth="600">
    <sf  #slqdAddSF mode="edit" [schema]="slqdSchema" [formData]="formData"  [button]="null">
    </sf>    
</nz-modal> 
<nz-modal [(nzVisible)]="slqdUpdateVisible" nzTitle="渠道修改" (nzOnCancel)="slqdUpdateCancel()" (nzOnOk)="slqdUpdateOk()"  nzOkText="保存" nzWidth="600">
  <sf  #slqdUpdateSF mode="edit" [schema]="slqdUpdateSchema" [formData]="formData"  [button]="null">
  </sf>    
</nz-modal> 
    <!---------------------------------------------------------->
<nz-modal [(nzVisible)]="clAddVisible" nzTitle="可引用材料" (nzOnCancel)="clCancel()" [nzFooter]='null' nzWidth="1000">
  <nz-card *ngIf="tabMode==='clSign'">
    <sf  #clAddSF [schema]=" clSchema" [formData]="formData" [button]="null" nzOkText="保存"  autocomplete="off">
      <ng-template sf-template='/btn'>
        <button type="submit" nz-button (click)="clWYQuery(true)">查询</button>
      </ng-template>
    </sf>
    <lb-grid #clAddST  [columns]="clAddColumns" [sname]="params.clWYQSname" [queryparas]="params.form" [scroll]="{x:'1000px'}">
    </lb-grid> 
  </nz-card>
</nz-modal> 
<nz-modal [(nzVisible)]="clAddPopVisible" nzTitle="添加材料" (nzOnCancel)="clAddCancel()" (nzOnOk)="clAddOK()" nzWidth="500">
  <nz-card *ngIf="tabMode==='clSign'">
    <sf  #clAddPop [schema]=" clAddPopSchema" [formData]="formData" [button]="null" nzOkText="保存"  autocomplete="off">
    </sf>
  </nz-card>
</nz-modal> 
    <!---------------------------------------------------------->
    <nz-modal [(nzVisible)]="cjwtAddVisible" nzTitle="问答新增" (nzOnCancel)="cjwtAddCancel()" (nzOnOk)="cjwtAddOk()"  nzOkText="保存" nzWidth="600">
      <sf  #cjwtAddSF mode="edit" [schema]="cjwtAddSchema" [formData]="formData"  [button]="null">
      </sf>    
  </nz-modal> 
  <nz-modal [(nzVisible)]="cjwtUpdateVisible" nzTitle="问答修改" (nzOnCancel)="cjwtUpdateCancel()" (nzOnOk)="cjwtUpdateOk()"  nzOkText="保存" nzWidth="600">
    <sf  #cjwtUpdateSF mode="edit" [schema]="cjwtUpdateSchema" [formData]="formData"  [button]="null">
    </sf>    
  </nz-modal> 
      <!---------------------------------------------------------->

    <nz-modal [(nzVisible)]="zcyjAddVisible" nzTitle="依据绑定" (nzOnCancel)="zcyjADDCancel()" [nzFooter]="null" nzWidth="1000">
      <sf #zcyjWYSearchSF
          mode="search"
          [schema]="zcyjSearchSchema"
          [formData]="queryFormData"
          [button]="null"
          autocomplete="off"
        >
        </sf>  
        <div nz-row>
          <div nz-col nzSpan="12" style="padding-left: 5px;padding-bottom: 5px;"></div>
          <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 5px;">
            <button (click)="zcyjWYQuery(true)" nz-button nzType="primary"><i nz-icon nzType="search"></i>检索</button>
            <button (click)="this.zcyjWYSearchSF.reset()" nz-button nzType="default"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button>
          </div>
        </div>
      
            <lb-grid *ngIf="zcyjAddVisible" #zcyjWYST  [columns]="zcyjWYColumns" sname="SDYJWH_QSDYJWY" [queryparas]="{DAD017:record.DAD017}"  [scroll]="{x:'1200px'}">
              <ng-template lb-row="YJMC" let-item let-index="index" let-column="column">
                <span style="display: inline-block; white-space: nowrap;  width: 180px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD182}}>{{item.DAD182}}</span>
              </ng-template>
              <ng-template lb-row="FLYJ" let-item let-index="index" let-column="column">
                <span style="display: inline-block; white-space: nowrap;  width: 520px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD171}}>{{item.DAD171}}</span>
            </ng-template>
            <ng-template lb-row="BZ" let-item let-index="index" let-column="column">
              <span style="display: inline-block; white-space: nowrap;  width: 220px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD183}}>{{item.DAD183}}</span>
          </ng-template>
            </lb-grid> 
    </nz-modal>

    <nz-modal [(nzVisible)]="zcyjAddSchema1Visible" nzTitle="依据绑定" (nzOnCancel)="zcyjADDSchema1Cancel()" (nzOnOk)="zcyjADDSchema1OK()"  nzWidth="600">
      <sf  #sdyjAddSF mode="edit" [schema]="sdyjAddSchema" [formData]="formData"  [button]="null">
        <ng-template sf-template="DAD181" let-me let-ui="ui" let-schema="schema">
          <input
            nz-input
            [attr.id]="me.id"
            [disabled]="me.disabled"
            [attr.disabled]="me.disabled"
            class="input_click"
            [nzSize]="ui.size"
            [ngModel]="me.formProperty.value"
            (ngModelChange)="me.setValue($event)"
            (click)="yjAdd()"
            (input)="yjAdd()"
            placeholder="请点击"
          />
        </ng-template>
      </sf>    
    </nz-modal>  


    <nz-modal [(nzVisible)]="zcyjUpdateVisible" nzTitle="依据绑定" (nzOnCancel)="zcyjUpdateCancel()" [nzFooter]="null" nzWidth="1000">
      <sf #zcyjWYUpdateSearchSF
          mode="search"
          [schema]="zcyjSearchSchema"
          [formData]="queryFormData"
          [button]="null"
          autocomplete="off"
        >
        </sf>  
        <div nz-row>
          <div nz-col nzSpan="12" style="padding-left: 5px;padding-bottom: 5px;"></div>
          <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 5px;">
            <button (click)="zcyjWYQuery(true)" nz-button nzType="primary"><i nz-icon nzType="search"></i>检索</button>
            <button (click)="this.zcyjWYUpdateSearchSF.reset()" nz-button nzType="default"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button>
          </div>
        </div>
      
            <lb-grid *ngIf="zcyjUpdateVisible" #zcyjUpdateWYST  [columns]="zcyjUpdateWYColumns" sname="SDYJWH_QSDYJWY" [queryparas]="{DAD017:record.DAD017}"  [scroll]="{x:'1200px'}">
              <ng-template lb-row="YJMC" let-item let-index="index" let-column="column">
                <span style="display: inline-block; white-space: nowrap;  width: 180px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD182}}>{{item.DAD182}}</span>
              </ng-template>
              <ng-template lb-row="FLYJ" let-item let-index="index" let-column="column">
                <span style="display: inline-block; white-space: nowrap;  width: 520px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD171}}>{{item.DAD171}}</span>
            </ng-template>
            <ng-template lb-row="BZ" let-item let-index="index" let-column="column">
              <span style="display: inline-block; white-space: nowrap;  width: 220px; overflow: hidden;text-overflow:ellipsis;" :title={{item.DAD183}}>{{item.DAD183}}</span>
          </ng-template>
            </lb-grid> 
    </nz-modal>

    <nz-modal [(nzVisible)]="sdyjUpdateVisible" nzTitle="依据修改" (nzOnCancel)="sdyjUpdateCancel()" (nzOnOk)="sdyjUpdateOk()"  nzOkText="保存" nzWidth="600">
      <sf  #sdyjUpdateSF mode="edit" [schema]="sdyjUpdateSchema" [formData]="formData"  [button]="null">
        <ng-template sf-template="DAD181" let-me let-ui="ui" let-schema="schema">
          <input
            nz-input
            [attr.id]="me.id"
            [disabled]="me.disabled"
            [attr.disabled]="me.disabled"
            [nzSize]="ui.size"
            [ngModel]="me.formProperty.value"
            (ngModelChange)="me.setValue($event)"
            (click)="yjUpdate()"
            (input)="yjUpdate()"
            placeholder="请点击"
          />
        </ng-template>
      </sf>   
    </nz-modal> 

    <!---------------------------------------------------------->
    <!-- <nz-modal [(nzVisible)]="lcsmAddVisible" nzTitle="添加流程说明" (nzOnCancel)="lcsmAddCancel()" (nzOnOk)="lcsmAddhdOK()" nzWidth="500">
        <sf  #lcsmAddSF [schema]="lcsmAddSchema" [formData]="formData" [button]="null" nzOkText="保存"  autocomplete="off">
        </sf>
    </nz-modal> 
    <nz-modal [(nzVisible)]="lcsmUpdateVisible" nzTitle="修改流程说明" (nzOnCancel)="lcsmUpdateCancel()" (nzOnOk)="lcsmUpdatehdOK()" nzWidth="500">
        <sf  #lcsmUpdateSF [schema]="lcsmUpdateSchema" [formData]="formData" [button]="null" nzOkText="保存"  autocomplete="off">
        </sf>
    </nz-modal>  -->

<!--------------------------------------------基本展示---------------------------------------------------------->

  <nz-tabset>
    <nz-tab nzTitle="基本信息" (nzSelect)="selectTab('basicInfo')" >
     
        <nz-card>
        <div style="background-color: #fff;margin-top:5px;padding:5px;height: 400px;overflow: auto;">
          <span style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;">-- 【事项信息】 --</span>
          <sf #basicInfoSF mode="edit" [schema]="basicInfoSchema" [button]="null" autocomplete="off">
          </sf>
          <span style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;">-- 【办事信息】 --</span>
          
          <sf #basicInfoBgSF mode="edit" [schema]="basicInfoBgSchema" [button]="null" autocomplete="off">
          </sf>
          <span style="color:rgb(238, 85, 85);font-weight: bold;font-size: 13px;">-- 【结果信息】 --</span>
          
          <sf #basicInfoEndSF mode="edit" [schema]="basicInfoEndSchema" [button]="null" autocomplete="off">
          </sf>
          
      </div>
    </nz-card>
      
      <div style="text-align: right;padding-top: 5px;">
        <button nz-button nzType="primary"  (click)="updateBasicInfo()"><i nz-icon nzType="edit"></i>确认修改</button>
      </div>
      
          
      
    </nz-tab>
        <!---------------------------------------------------------->
        <nz-tab nzTitle="流程说明" (nzSelect)="selectTab('lcsmSign')" style="height: 400px;overflow: auto;">
              <sf #lcsmAddSF mode="search" [schema]="lcsmSchema" [button]="null" autocomplete="off">
              </sf>
              <div style="text-align: right;padding-top: 5px;">
                <button nz-button nzType="primary"  (click)="updateLcsm()"><i nz-icon nzType="edit"></i>确认修改</button>
              </div>
          
        </nz-tab>
    <!---------------------------------------------------------->
    <nz-tab nzTitle="线下渠道" (nzSelect)="selectTab('slqdSign')">
     
        <div style="text-align: right;padding-bottom: 5px;">
          <button nz-button nzType="primary"  (click)="gotoSlqdAdd()"><i nz-icon nzType="plus"></i>渠道添加</button>
        </div>
        <nz-card>
          <lb-grid #slqdST  [columns]="slqdColumns" [sname]="params.slqdSname" [queryparas]="params.form" [scroll]="{x:'1000px'}">
          </lb-grid> 
        </nz-card>
     
    </nz-tab>
    <!---------------------------------------------------------->
    <!-- <nz-tab nzTitle="材料清单" (nzSelect)="selectTab('clSign')">
      
        <sf #clSF mode="search" [schema]="clSchema"  [button]="null" autocomplete="off">
          <ng-template sf-template='/btn'>
            <button type="submit" nz-button (click)="clQuery(true)">查询</button>
            <button type="submit" nz-button (click)="gotoClAdd()">添加</button>
          </ng-template>
        </sf>
        <lb-grid #clST  [columns]="clColumns" [sname]="params.clYYQSname" [queryparas]="params.form" [scroll]="{x:'1000px'}">
        </lb-grid> 
     
    </nz-tab> -->
        <!---------------------------------------------------------->
        <nz-tab nzTitle="申请条件" (nzSelect)="selectTab('sqtjSign')">
          
            <nz-card [nzActions]="[aa1,aa2,actionEdit]" >
              <div style="height: 400px;overflow: auto;">
              <sf #sqtjSF mode="search" [schema]="sqtjSchema" [button]="null" autocomplete="off">
              </sf>
            </div>
            </nz-card>
            <ng-template #aa1>
              <i nz-icon nzType="edit">&nbsp;</i>
            </ng-template>
            <ng-template #aa2>
              <div (click)="sqtjUpCancel()">取消</div>
            </ng-template>
            <ng-template #actionEdit>
             <!-- <div  *ngIf="sqtjSfMode===false" (click)="goSqtjUpdate()"><i nz-icon nzType="edit"></i>修改</div>  -->
            <div  (click)="updateSqtj()"> <i nz-icon nzType="edit"></i>确认修改</div> 
            </ng-template>
         
        </nz-tab>
        <!---------------------------------------------------------->
        <nz-tab nzTitle="收费标准" (nzSelect)="selectTab('sfbzSign')">
          <div *ngIf="tabMode==='sfbzSign'" >
            <nz-card [nzActions]="[aa1,aa2,actionEdit]">
              <div style="height: 400px;overflow: auto;">
              <sf #sfbzSF mode="search" [schema]="sfbzSchema" [button]="null" autocomplete="off">
              </sf>
            </div>
            </nz-card>
            <ng-template #aa1>
              <i nz-icon nzType="edit">&nbsp;</i>
            </ng-template>
            <ng-template #aa2>
              <div (click)="sfbzUpCancel()">取消</div>
            </ng-template>
            <ng-template #actionEdit>
             <!-- <div  *ngIf="sqtjSfMode===false" (click)="goSfbzUpdate()"><i nz-icon nzType="edit"></i>修改</div>  -->
            <div  (click)="updateSfbz()"> <i nz-icon nzType="edit"></i>确认修改</div> 
            </ng-template>
          </div>
        </nz-tab>
<!---------------------------------------------------------->
     <nz-tab nzTitle="常见问题" (nzSelect)="selectTab('cjwtSign')">
         <div *ngIf="tabMode==='cjwtSign'" >
            <!-- <nz-card [nzActions]="[aa1,aa2,actionEdit]">
            <sf #cjwtSF mode="search" [schema]="cjwtSchema" [button]="null" autocomplete="off">
             </sf>
             </nz-card>
            <ng-template #aa1>
              <i nz-icon nzType="edit">&nbsp;</i>
            </ng-template>
            <ng-template #aa2>
                <div (click)="cjwtUpCancel()">取消</div>
             </ng-template>
            <ng-template #actionEdit>
                <div  (click)="updateCjwt()"><i nz-icon nzType="edit"></i>确认修改</div> 
            </ng-template> -->
            <div style="text-align: right;padding-bottom: 5px;">
              <button nz-button nzType="primary"  (click)="gotoCjwtAdd()"><i nz-icon nzType="plus"></i>问答添加</button>
            </div>
            <nz-card>
              <lb-grid #cjwtST  [columns]="cjwtColumns" [sname]="params.cjwtSname" [queryparas]="{DAD017:record.DAD017}" [scroll]="{x:'1000px'}">
              </lb-grid> 
            </nz-card>
         </div>
      </nz-tab>
  <!---------------------------------------------------------->
  <nz-tab nzTitle="设定依据" (nzSelect)="selectTab('sdyjSign')">
    <div *ngIf="tabMode==='sdyjSign'" >
         <!-- <div style="text-align: right;padding-bottom: 5px;">
          <button nz-button nzType="primary"  (click)="gotoSdyjAdd()"><i nz-icon nzType="plus"></i>依据添加</button>
        </div>
        <nz-card>
          <lb-grid #sdyjST  [columns]="sdyjColumns" [sname]="params.sdyjSname" [queryparas]="{DAD017:record.DAD017}" [scroll]="{x:'1200px'}">
          </lb-grid> 
        </nz-card> -->
        <nz-card>
          <sf #zcyjYYSearchSF
          mode="search"
          [schema]="zcyjSearchSchema"
          [formData]="queryFormData"
          [button]="null"
          autocomplete="off"
        >
        </sf>  
        <div nz-row>
          <div nz-col nzSpan="12" style="padding-left: 5px;padding-bottom: 5px;"><button nz-button nzType="primary"  (click)="gotoZcyjAdd()"><i nz-icon nzType="plus"></i>绑定依据</button></div>
          <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 5px;">
            <button (click)="zcyjQuery(true)" nz-button nzType="primary"><i nz-icon nzType="search"></i>检索</button>
            <button (click)="this.zcyjYYSearchSF.reset()" nz-button nzType="default"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button>
          </div>
        </div>
      
            <lb-grid #zcyjYYST  [columns]="zcyjYYColumns" sname="SDYJWH_QSDYJYY" [queryparas]="{DAD017:record.DAD017}"  [scroll]="{x:'1200px'}">
            </lb-grid> 
          </nz-card>
    </div>
 </nz-tab>

  </nz-tabset>



